<?php
$maxpag=15;
if (!isset($_REQUEST["pag"])) {
     $pag=1;
}else{
     $pag=$_REQUEST["pag"];
}
$desde = (($pag-1)*$maxpag);
$grid1 = new psa_form_grid;
$grid1->tabla    = "modulos order by posicion ";
$grid1->desde    = $desde;
$grid1->inicamp  = 1;
$grid1->cantidad = $maxpag;
$grid1->procesa  = "index.php?psa_modulo=mod/modulos/proceso.php&modulo=".$_REQUEST["psa_modulo"];
$grid1->linkbar  = "index.php?psa_modulo=".$_REQUEST["psa_modulo"];
$grid1->pagbar   = $pag;
$grid1->gridtipo = B_ACT_EL;
$grid1->nuevo    = 1;
$grid1->gen(1);
?>